package com.aigou.admin.service;

import com.aigou.admin.entity.PageEntity;
import com.aigou.admin.entity.Receiving_address;

import java.util.List;

/**
 * @Author: xsc_hunter
 * @Date: 2024/12/3) 下午5:08
 * @Version: 1.0
 */
public interface Receiving_addressService {
    /**
     * 分页查询收货地址
     * @param current   当前页
     * @param pageSize 每页数量
     * @return         分页结果
     */
    PageEntity<Receiving_address> findShopCartByPage(Integer current, Integer pageSize);
    List<Receiving_address> findAll();
    Receiving_address findById(String id);
    Boolean save(Receiving_address receiving_address);
    Boolean update(Receiving_address receiving_address);
    Boolean remove(String id);
}
